﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Model
{
    public class Overtime//加班申请表
    {
        [Key]
        public int id { get; set; }//加班编号
        public string staff_ID { get; set; }//申请人
        [ForeignKey("staff_ID")]
        public virtual Personnel Personnel { get; set; }
        public string department { get; set; }//申请人部门
        public string remarks { get; set; }//加班内容
        public string EstimatedOvertime { get; set; }//加班时间
        public string Travel_leader { get; set; }//部门经理
        public string Travel_manager { get; set; }//总经理
        public int Aid { get; set; }//状态
        [ForeignKey("Aid")]
        public virtual Astate Astate { get; set; }
    }
}
